package com.intellagric.mapper;

import com.intellagric.pojo.CmsArticleType;
import com.intellagric.pojo.CmsArticleTypeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CmsArticleTypeMapper {
    long countByExample(CmsArticleTypeExample example);

    int deleteByExample(CmsArticleTypeExample example);

    int deleteByPrimaryKey(String id);

    int insert(CmsArticleType record);

    int insertSelective(CmsArticleType record);

    List<CmsArticleType> selectByExample(CmsArticleTypeExample example);

    CmsArticleType selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") CmsArticleType record, @Param("example") CmsArticleTypeExample example);

    int updateByExample(@Param("record") CmsArticleType record, @Param("example") CmsArticleTypeExample example);

    int updateByPrimaryKeySelective(CmsArticleType record);

    int updateByPrimaryKey(CmsArticleType record);
}